<?php 

    /**
     * 
     */
    class Home_model extends CI_Model {
        var $table = "crawler_content";
        function __construct() {
            parent::__construct();
        }
        
        function get(){
          	$res	=	$this->db->select('id,title,text')
          						 ->order_by('id', 'ASC')
          						 ->get($this->table)	
          						 ->result_array();
          	return $res;
          						 
        }
    }
    